home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1 Issue 2
/
PDCD-1 - Issue 02.iso
/
_utilities
/
utilities
/
003
/
_unimode2
/
!UniMode2
/
ModeScript
/
DIY_BSDMER
< prev
next >
Wrap
Text File
|
1994-08-14
|
3KB
|
95 lines
#ModeDescription Broadcast Standard Display Mode Easy reading
# Converted on Sun,14 Aug 1994.14:36:41
#
# ***** DIY General broadcast standard display modes for Special Needs *****
#
# Make your own specific mode by setting the number of columns (C(0)) and the
# number of rows (C(1)).
#
# The compiler can determine all necessary values using the rest of this file.
# This file is almost a guarantee of getting a working mode.(except, somehow,
# for widths of 73 and 97 characters)
#
# Absolute maximum ratings: x: 144 y: 14
#
# What is a Broadcast Standard Display Mode? A BSDM always has to meet next
# requirements:
# - Rasterfrequency 50Hz
# - Linefrequency 15625Hz
# - several specs regarding sync pulses, front and back porches etc.
#
# For RISC-OS computers, it is very simple to determine if you can use this
# file: If you have configured MonitorType 0 or 1, you should be able to use
# it. (Use *Status MonitorType)
#
# This file is NOT fool-proof since an MDF is not allowed to generate errors.
# This means you should be very careful when trying out your new mode when you
# updated more than only the first three constants.
#
#
# This file was developed by J.P. Hendrix and is
# ⌐ 26-May-1992 by Hendrix Bros.
#
# Any MDF created using this file is not subjected to the above copyright
# notice.
#
#
# 0: No. Columns 1: No. Rows 2: X Offset 3: Y Offset 4: Log2BPP 5: XEig 6: YEig 7: Pixel rate (MHz)
# 1 - 144 1 - 14 0 - 3
#
# Log2BPP: 0 -> 2 colours 1 -> 4 colours 2 -> 16 colours 3 -> 255 colours
#
#
# .Declarations
C00: 72
C01: 14
C05: 0
C06: 1
#
#
# *** WARNING *** : Only change the text below if you are 100% sure of what you
# are doing !!!
#
C04: 0
C07: -(24*(C(0)>96)+16*((C(0)>72)AND(C(0)<=96))+12*((C(0)>48)AND(C(0)<=72))+8*(C(0)<=48))
C02: 14*C(7)+(6*C(7)-C(0))*4-1
C03: 23+(14-C(1))*2
#
#
# .MachineSpecs
VIDC:ON,Standard50Hz
# .VIDCList
BaseModeV: 18+C(4)
HCR: 64*C(7)
HSWR: 5*C(7)
HBSR: C(2)-2
HDSR: C(2)
HDER: C(2)+C(0)*8
HBER: C(2)+C(0)*8+2
#
VCR: 312
VSWR: 3
VBSR: C(3)-2
VDSR: C(3)
VDER: C(3)+C(1)*10*2
VBER: C(3)+C(1)*10*2+2
CR: &30+C(4)*4-3*(C(7)=24)-2*(C(7)=16)-(C(7)=12)
#
# .WorkspaceList
BaseModeM: 18+C(4)
ModeFlags: FNMF("-VDUCharsDoubleHeight -GapMode")
ScrRCol: C(0)-1
ScrBRow: C(1)-1
NColour: (2^(2^C(4))-1)AND63
XEigFactor: C(5)
YEigFactor: C(6)
LineLength: C(0)*2^C(4)
ScreenSize: C(0)*C(1)*10*2*2^C(4)
#
Log2BPP: C(4)
Log2BPC: C(4)
XWindLimit: 8*C(0)-1
YWindLimit: C(1)*2*10-1
#
# .End